package sensimulator.intersection.traffic;

import java.awt.Graphics;
import java.awt.Point;
import java.awt.Toolkit;
import java.awt.image.ImageObserver;

import sensimulator.intersection.lanes.Lane;

public class Cyclists extends TrafficUser {

	static final float SPEED = 0.07f;
	
	static final String[] CYCLIST_SPRITES = { "resources/cyclist.png" };
	
	public Cyclists(Lane lane, Point position) {
		super(lane, position, SPEED);
		
		image = Toolkit.getDefaultToolkit().createImage(CYCLIST_SPRITES[(int) (Math.random() * CYCLIST_SPRITES.length)]);
	}
	
}

